package com.hzw.saas.api.schedule.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author hankun
 */
@Data
@ApiModel("日程信息")
public class UserScheduleBo implements Serializable {
    private static final long serialVersionUID = 5804979934170372107L;

    @ApiModelProperty(value = "主键ID", position = 1)
    protected String pid;

    @ApiModelProperty(value = "会议id", position = 2)
    protected String meetingId;

    @ApiModelProperty(value = "标题", position = 3)
    private String title;

    @ApiModelProperty(value = "日程描述/内容", position = 4)
    private String content;

    @ApiModelProperty(value = "日程状态, 0-未完成, 1-已完成", position = 5)
    private Integer status;

    @ApiModelProperty(value = "排序", position = 6)
    private Long sortOrder;

    @ApiModelProperty(value = "提醒日期", position = 7)
    private LocalDateTime dueDate;

    @ApiModelProperty(value = "提醒规则 rrule", position = 8)
    private String repeatFlag;

    @ApiModelProperty(value = "是否跳过节假日 0:否 1:是", position = 8)
    private Integer skipWeekend;

    @ApiModelProperty(value = "提醒提前量", position = 9)
    private String aheadTime;

    @ApiModelProperty(value = "时间段 开始时间")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "时间段 结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "分组id 1001:xxx|1002:生活|1003:工作|1004:学习|1005:家庭\n", position = 10)
    private String groupId;

    @ApiModelProperty(value = "标签", position = 11)
    private List<TagBo> tagBos;

    @ApiModelProperty(value = "分组名称", position = 12)
    private String groupName;

    @ApiModelProperty(value = "优先级 0:无|1:低|2:中|3:高", position = 14)
    private Integer priority;

}
